<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<?php echo $html->charset(); ?>
<title><?php echo $title_for_layout; ?>
</title>
<?php
echo $html->meta('icon');
echo $html->css('jobeet');
echo $html->css('jobs');
echo $scripts_for_layout;
echo $javascript->link('jquery-1.6.2.min.js');
echo $javascript->link('jobeet.js');
?>
</head>
<body>
	<div id="container">
		<div
			style="background-color: #ffc; padding: 10px; width: 783px; margin: 0 auto; font-size: 12px; text-align: center">
			<p>
				You are browsing the <strong><a href="/about">Jobeet</a> demo
					website</strong>. Feel free to play with it as the <em>database is
					reset every day</em>.
			</p>
			<p style="margin-top: 5px">
				Jobeet, a 24-days tutorial, teaches you how to develop a web
				application in PHP with the <a
					href="http://www.symfony-project.org/">symfony framework</a>.
			</p>
			<p style="margin-top: 5px">
				You can <a
					href="http://www.symfony-project.org/jobeet/1_2/Doctrine/en/">read
					it online</a> for free or <a
					href="http://www.lulu.com/content/5784717">buy the printed book</a>.
			</p>
		</div>
		<div id="header">
			<div class="content">
				<h1>
					<a href="<?php echo $this->webroot ?>"> <img alt="Jobeet Job Board"
						src="http://www.jobeet.org/images/jobeet.gif">
					
					</a>
				</h1>
				<div id="sub_header">
					<div class="post">
						<h2><?php __('Ask for people');?></h2>
						<div>
							<a href="<?php echo $this->webroot.'frondends/add';?>"><?php __('Post a job');?></a>
						</div>
					</div>
					<div class="search">
						<h2><?php __('Ask for a job');?></h2>
						<form method="get"
							action="<?php echo $this->webroot.'frondends/search';?>">
							<input type="text" id="search_keywords" value="" name="query"> <input
								type="submit" value="search" style="display: none;"> <img
									style="vertical-align: middle; display: none"
									src="http://www.jobeet.org/images/loader.gif" id="loader">
										<div class="help"><?php __('Enter some keywords (city, country, position, ...)');?></div>
						
						</form>
					</div>
				</div>
			</div>
		</div>
		<div id="content">
		<?php $session->flash(); ?>
		<?php echo $content_for_layout; ?>
		</div>
		<div id="footer">
			<div class="content">
				<span class="symfony"> <img
					src="http://www.jobeet.org/images/jobeet-mini.png"> <?php __('powered by');?> <a
						href="http://www.symfony-project.org/"> <img
							alt="symfony framework"
							src="http://www.jobeet.org/images/symfony.gif">
					
					</a>
				
				</span>
				<ul>
					<li><a href="/about"><?php __('About Jobeet');?></a>
					</li>
					<li class="feed"><a href="/en/job.atom"><?php __('Full feed');?></a>
					</li>
					<li><a href=""><?php __('Jobeet API');?></a>
					</li>
					<li class="last"><a href="/en/affiliate/new"><?php __('Become an affliliate');?></a>
					</li>
				</ul>
				<form action="<?php echo $this->webroot ?>lang">

					<label for="language"><?php __('Language');?></label> <select id="language"
						name="lang">
						<option selected="selected" value="eng">English</option>
						<option value="vie">VietNam</option>
					</select> <input type="submit" value="ok" />

				</form>
			</div>
		</div>
	</div>
	<?php // echo $this->element('sql_dump'); ?>
</body>
</html>
